package com.bocai.eelly.bean;

import java.util.List;

/**
 * Created by admin on 2016/6/6.
 */
public class PortBean {


    /**
     * msg : 获取成功
     * return_code : 0
     * data : [{"country":"巴西","port":[{"title":"伊塔雅伊"},{"title":"里约热内卢"},{"title":"帕拉那瓜"},{"title":"桑托斯"}]},{"country":"中国","port":[{"title":"宁波港"},{"title":"青岛港"},{"title":"深圳港"},{"title":"上海港"}]},{"country":"美国","port":[{"title":"洛杉矶"},{"title":"杰克逊维尔"},{"title":"纽约"}]}]
     */

    private String msg;
    private int return_code;
    /**
     * country : 巴西
     * port : [{"title":"伊塔雅伊"},{"title":"里约热内卢"},{"title":"帕拉那瓜"},{"title":"桑托斯"}]
     */

    private List<DataEntity> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity {
        private String country;
        /**
         * title : 伊塔雅伊
         */

        private List<PortEntity> port;

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public List<PortEntity> getPort() {
            return port;
        }

        public void setPort(List<PortEntity> port) {
            this.port = port;
        }

        public static class PortEntity {
            private String title;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}


